package com.yunshang.ysmall.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.yunshang.ysmall.model.ProductInfo;
@Mapper
public interface ProductInfoMapper {

    int insert(ProductInfo record);

    int delete(String productId);

    ProductInfo selectByProId(String productId);

    List<ProductInfo> getProductListByMap(Map params);

    int updateByPojo(ProductInfo record);
}